package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {
    private Integer id;
    private String name;
    private Double price;
    private Integer stock;
    private String description;
    //商品对应的分类对象
    private Type type;
    // 省略set和get方法

}